package com.baidu.bulls.stock.user.service;

import com.baidu.bulls.stock.common.exception.BusinessException;
import com.baidu.bulls.stock.common.exception.ComponentException;
import com.baidu.bulls.stock.entity.user.TradeUser;
import com.baidu.stock.common.web.vo.user.TradeUserVo;

public interface StockUserService {

    /**
     * 用户登陆
     * @param userNo
     * @param userPwd
     * @return
     */
    TradeUser userLogin(String userNo, String userPwd) throws ComponentException;

    /**
     * 用户注册
     */
//    @Override
    TradeUser userRegister(TradeUserVo vo) throws ComponentException, BusinessException;


}
